package org.huangrui.design.pattern.decorate;

public class TaroBall extends Ingredients{//芋圆配料
    public TaroBall(Product product) {
        super(product);
    }

    @Override
    public double totalPrice() {
        return super.totalPrice() + 1;
    }

    @Override
    public String showMaterials() {
        return super.showMaterials()+"，芋圆";
    }
}
